package com.fauks.ssm.mybatis.bean;

public class MProvinceMany {
    private int p_id;
    private String p_name;
    /*关联属性*/
    private MCountryOne countryOne;

    public int getP_id() {
        return p_id;
    }

    public void setP_id(int p_id) {
        this.p_id = p_id;
    }

    public String getP_name() {
        return p_name;
    }

    public void setP_name(String p_name) {
        this.p_name = p_name;
    }

    public MCountryOne getCountryOne() {
        return countryOne;
    }

    public void setCountryOne(MCountryOne countryOne) {
        this.countryOne = countryOne;
    }

    @Override
    public String toString() {
        return "MProvinceMany{" +
                "p_id=" + p_id +
                ", p_name='" + p_name + '\'' +
                ", countryOne=" + countryOne +
                '}';
    }
}
